﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Test.Entities
{
	public class WebsiteModule : IdentifiableEntity, IReference
	{
		#region Properties

		[Required]
		[DisplayName(@"Key")]
		public string Key { get; set; }

		[Required]
		[DisplayName(@"Enabled")]
		public bool Enabled { get; set; }

		[Required]
		[DisplayName(@"Optional")]
		public bool Optional { get; set; }

		#region INamedEntity Members

		[Required]
		[DisplayName(@"Name")]
		public string Name { get; set; }

		#endregion

		#region IReference Members

		[Required]
		[DisplayName(@"Module Location")]
		public string Location { get; set; }

		#endregion

		#endregion
	}
}
